<%-- 
    Document   : chothoitrang
    Created on : Oct 8, 2011, 10:10:36 AM
    Author     : Thu Huong
--%>


<%@page import="pojo.BanTinPoJo"%>
<%@page import="dao.BanTinDao"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

<% 
    BanTinDao dao = new BanTinDao();
    List<BanTinPoJo> dsBanTin = dao.TimBanTin(-1, 2, -1, -1);
    

%>
<div id="navbar" class="navbar-default"><ul><li class="first">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/quan-ao-nam">Quần áo Nam</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/quan-ao-nu">Quần áo Nữ</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/phu-kien">Phụ kiện</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/nuoc-hoa-my-pham">Nước hoa - Mỹ phẩm</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/giay-dep-tui-xach">Giầy dép - Túi xách</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/me-va-be">Mẹ và Bé</a></li><li class="sep">&nbsp;</li><li><a href="http://www.giamua.com/mua-ban/thoi-trang-khac">Khác</a></li></ul></div><div style="height: 10px;"></div>
<div id="content-container">
                <div id="bread-crumb">
                    <div style="border-bottom: 1px solid rgb(221, 221, 221); margin-bottom: 0px; padding-bottom: 5px;">
                    Bạn đang xem danh mục <strong>Thời trang</strong><ul class="" id="menu_location"><li><span> trên <strong>Toàn quốc <span class="expand-link">▼</span></strong></span><ul style="visibility: hidden;" class="menu_items view-mode-list"><li><a href="http://www.giamua.com/mua-ban/thoi-trang/?l=hcm">TpHCM</a></li><li><a href="http://www.giamua.com/mua-ban/thoi-trang/?l=ha-noi">Hà Nội</a></li></ul></li></ul>
                     <div id="filter-link"> 
                        <a href="http://www.giamua.com/mua-ban/dang-ban" class="link-add-place" title="Đăng bán">Đăng bán</a>
                    </div> 
                    </div>
                </div>
                <div id="filters"><a href="http://www.giamua.com/mua-ban/thoi-trang/?v=new">Mới đăng</a> <span class="filter-seperator">|</span> <span class="filter-selected-item">Nổi bật</span></div>               
                <!-- list { -->
                <div id="topics-list">
                    <%
                        //bat dau viet code cho nao thi xuong dong choi do de lay cho viet code
                        for(int i=0;i<dsBanTin.size();i++)
                        {
                            BanTinPoJo bt = dsBanTin.get(i);
                    %>
                    <div class="topic-item">
                        <div class="topic-item-inner"><h3><a href="http://www.giamua.com/mua-ban/106/Thanh-ly-em-kieng-mat-xach-tay-kieu-dang-thoi"><%=bt.gettieuDe()%></a></h3><div class="location"><strong>TpHCM</strong> - <span class="price">250K</span></div>
                            <div class="summary"><%=bt.getnoiDung()%></div>
                            <div class="topic-images"><img src="images/3520608200.jpg" alt=""><img src="images/734655175.jpg" alt=""><img src="images/3427474536.jpg" alt=""></div><div class="actions-bar"><a href="http://www.giamua.com/seller/omil89"><strong>omil89</strong></a> - <span class="date">5 giờ trước</span> <span class="sep">|</span> Xem: <strong>18</strong> <span class="sep">|</span> <a href="http://www.giamua.com/mua-ban/106/Thanh-ly-em-kieng-mat-xach-tay-kieu-dang-thoi#replies" class="topic-answers">Bàn luận</a>: <strong>1</strong><br class="clear"></div>
                        </div>
                    </div>
                    <%
                         }
                    %>
                    <div class="topic-item"></div><div class="topic-item"><div class="topic-item-inner"></div></div>
                <div id="pagination"><span>1</span> <a href="http://www.giamua.com/mua-ban/thoi-trang/?si=15">2</a> <a href="http://www.giamua.com/mua-ban/thoi-trang/?si=30">3</a> <a href="http://www.giamua.com/mua-ban/thoi-trang/?si=45">4</a> <a class="nav" href="http://www.giamua.com/mua-ban/thoi-trang/?si=15">Tiếp »</a></div>
                <!-- } list -->
            </div>